package com.googlecode.stockhamster.bank;

public interface IBank {
	
	/*
	 * For BlackHand
	 */
	public String[] getList(String adminVer);
	
	public Boolean setMoney(String adminVer, String username, Long money);
	
	/*
	 * For Arbiter
	 */
	public String open (String username);
	
	public Boolean close (String username, String code);
	
	public String cash (String username, String code, Long amount);
	
	public Long getBalance (String username, String code);
	
	
	/*
	 * For StockMarket
	 */
	public String transfer (String targUsername, String moneyCode, Long amount);
	
	public Boolean sendBack (String moneyCode);
	
	public Long query (String moneyCode);

}
